package com.mall.malladminbackend.model;

import lombok.Data;

import java.util.List;

@Data
public class MenuModel {
    private Integer id;
    private String path;
    private Integer parentId;
    private String name;
    private String component;
    private Boolean hidden;
    private Integer orderNum;
    private Meta meta;

    private List<MenuModel> children;

    @Data
    public static class Meta {
        private String title;
        private String icon;
        private List<String> perms;
    }
}
